package com.scnlf.scnlf.portal.core.common.config;

import java.util.Optional;
import org.springframework.data.domain.AuditorAware;

public class DefaultAuditorAware implements AuditorAware<String> {

    public static final String DEFAULT_AUDITOR_SYSTEM = "system";

    @Override
    public Optional<String> getCurrentAuditor() {
        return Optional.of(DEFAULT_AUDITOR_SYSTEM);
    }

}
